1. Turn your HP XG887UA laptop over.
2. Find the laptop battery release button lock for your HP XG887UA laptop.
3. Now that your HP XG887UA laptop battery is unlocked, find the battery release button down.
4. Holding the laptop battery release button, gently pull your battery away from the laptop.
5. Now that your HP XG887UA battery is removed, grab your replacement HP XG887UA battery for installation.
6. Insert the battery into the slot. Push the HP XG887UA battery towards the laptop and secure it in place.